<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
	<title>培训列表</title>
</head>
<body>
<table>
   <thead>
	<tr>
		<th>培训编号</th>
		<th>培训名称</th>
		<th>培训图片</th>
		<th>培训简介</th>
    <th>培训老师</th>
		<th>电话</th>
        
        <th>操作</th>
	</tr>
   </thead>

   <tbody>      
         <?php if(is_array($index)): $i = 0; $__LIST__ = $index;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                    <td><?php echo ($vo["train_id"]); ?></td>
                    <td><?php echo ($vo["train_name"]); ?></td>
                    <td><?php echo ($vo["train_pic1"]); ?></td>
                    <td><?php echo ($vo["train_intro"]); ?></td>
                    <td><?php echo ($vo["train_teacher"]); ?></td>
                    <td><?php echo ($vo["train_phone"]); ?></td>

                    
                    
                    <td>
                    	<div>
                      
                        <ul>
                        

                        <a  href="/neu2_yuejian/Admin/Train/editTrain/train_id/<?php echo ($vo["train_id"]); ?>"> 修改|</a>
                       
                        <a href="deltrain/train_id/<?php echo ($vo["train_id"]); ?>" onclick="return confirm('你确定要删除吗？')">
                        <i class="icon-trash"></i>删除</a>
                        </ul>
                      </div>
                    </td>
                    
                      

                 
            </tr><?php endforeach; endif; else: echo "" ;endif; ?>      
   </tbody>
</table>
<li><a href="addTrain"> <i class="icon-trash"></i>发布</a>  </li> 

</body>
</html>